package com.minivision.fdiot.rest.param.faceset;

import org.hibernate.validator.constraints.NotBlank;

import com.minivision.fdiot.common.AuthParam;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.HashMap;
import java.util.Map;

@Getter
@Setter
public class SetCreateParam extends AuthParam {

	private static final long serialVersionUID = -4555796023459761095L;

	@NotBlank(message = "displayName must not be empty")
	@ApiModelProperty(value = "人脸库名称", required = true)
	private String displayName;
	@ApiModelProperty(value = "自定义的人脸库唯一标识")
	private String outerId;
	@ApiModelProperty(value = "人脸库所有者")
	private String owner;
	
	@ApiModelProperty(value = "人脸库容量，默认为Int最大值")
	private int capacity = Integer.MAX_VALUE;
	
	@ApiModelProperty(value = "人脸库优先级，值小为高")
    private int priority;
    @ApiModelProperty(value = "人脸库阈值")
    private float threshold;

	@ApiModelProperty(value = "扩展属性")
    private String extend;

	private Map<String,String> extendMap;

}
